package com.yunc;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.yunc.user.mq.rocketmq.CustomChannel;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Source;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@EnableBinding({Source.class, CustomChannel.class})
@EnableFeignClients
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
@MapperScan("com.yunc.user.sys.mapper")
public class YunxingUserApplication {

	public static void main(String[] args) {
		SpringApplication.run(YunxingUserApplication.class, args);
	}

}
